﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;

namespace Dao.Interface
{
    public interface ILogRepository : IRepository<LogMessage>
    {
        /// <summary>
        /// 获取日志分页集合
        /// </summary>
        /// <param name="pageIndex">页索引</param>
        /// <param name="pageSize">页大小</param>
        /// <param name="pageCount">总页数</param>
        /// <returns></returns>
        IQueryable<LogMessage> LoadAllLogByPage(int pageIndex, int pageSize, out int pageCount);
    }
}
